package com.yin.myproject.netty.chapter05;

import com.yin.myproject.netty.ChildServerHandler;
import com.yin.myproject.netty.GenericServer;

/**
 * @author Eason
 * @create 2017-12-24 17:40
 **/
public class EchoServer extends GenericServer{

    public EchoServer(int port, ChildServerHandler childServerHandler) {
        super(port, childServerHandler);
    }

    public static void main(String[] args) throws Exception {
        new EchoServer(8080,new EchoServerChildHandler(new EchoServerHandler())).run();
    }
}
